class KechengsController < ApplicationController
  layout :determin_layout

  active_scaffold :kecheng do |config|
    
    config.columns = [:kcm, :kcjs,:dagang,:rili,:tjsj,:rkjs] 
    config.list.columns.exclude :dagang,:rili
    
#    config.actions.exclude :create ,:search,:live_serch
#    config.actions.exclude :update,:delete

#    config.actions.swap :search, :live_search
  end

end
